lint + remove unused deprecated method