eo_add_custom() is the way.