Fix for omitted visibility of method