Create types for validation