Add validators on maxsize