Remove unfollowing functions for PHP5.4