Added direct/indirect spawn callbacks