Get rid of nasty RuntimeException