Remove function_exists check for spl_object_hash, closes #1344