Remove key validity checks that are not needed.