Validate types in bind::record