able to provide custom name during registration instead of class name