Remove unused protected method
Fix php 5.4 compatibility