Add alternatives to php class.