Update theme.php

Changing private methods to protected