Added support for [] to validation
0.1.7