code: func (fa *Factory) OnCreate(cb func(Args) error) *Factory {
  	fa.onCreate = cb
  	return fa
  }
docs: // OnCreate registers a callback on object creation.
  // If callback function returns error, object creation is failed.