Switch methods and variables from private to protected so the class be be easily extended