remove deprecated methods from model