This allows frontends to keep a single loader and use it multiple times e.g. for code loading and SMDH parsing.