Removed unused method from factory