Remove runtime checking that is covered by static analysis