Remove meaningless validity checks. (#130)