Removing deprecated comment and unused parameter