Fixing annotated method visibility