updated self class reference for php 5.4