Changing syntax to be PHP5.3-compliant.