added support for convention based registration