Use args functions in factories