make makeParents a method on Registrar stuct