Added template constructor for Type