Re-added <?php tags to Posts and PostsController because they were missing