Removing extra_head_content deprication warnings