Moved callbacks to their respective command classes.