Cleanup phpspec class.