Replaced protected methods with private