add_to_head has been deprecated since 2.8