Able to register method to XBaseClass now.