Removing deprecated methods.