If factory returns a value use as export.