Fixing issue with 'Self' on php 5.4