allow type in view definition