Remove outdated callback method style