remove Deprecated method.