Add template properties support to deserialization