Correct access modifier over overridden functions.