Documentation. remove deprecated method.