Added missing Private attributes
Fixed deregister