Add before build children callback type