Bug fix: Changed syntax to support older PHP version.