Allow registering Basic.return callbacks