Fixed bug #61025 (__invoke() visibility not honored)