Support application factory pattern