added contstraint on Deserialized typealiases