Fix protected method declaration