Declare protected methods instead of private