Validation & masks.