Removing extra_head_content, and paginate deprication warnings