Added almost all callbacks.