Moved exception checks from load-time