Fix context handling of alias-declaration