'deprecated' annotation
remove deprecated methods from core