Enh: place plugin registration in a more obvious place