rename RegisterMethod to Register