setInternal is deprecated