Facilitate for using factories in client applications