Add factory method to main classes