Removes the get_posts() method.