Check that unexpected attributes weren't given