This block (with different conditions) should go in getValidate() so that "required" gets added to the list if `TRUE === $this->getRequired()`. The other lines are of course fine - and necessary. Also please make sure tests still cover this case!