Depreceate old register command / listener methods.