Add some callback methods.