Changed runtime asserts to proper _checks