core, check, decode, exceptions and loader are a bit cleaner