ModBase hooks