@deprecated all methods which are related to deregister as it will be removed in 4.1.0.Final