GetFactory with storage type fix.