Making validation less strict about types :(