add attributes parsing and default validators