More modreferences stuff