Deprecated function add_to_head() since EE 2.8. replaced with add_to_foot() instead.