Added "external" annotation members and corresponding unit test.