Remove needless factory