There was a number of ZX-Spectrum games that had loadable levels - e.g. R-Type, Gauntlet, Short Circuit (48k).

I wonder if those loadable levels only contained graphics / music / game data for the level, or was it commonplace to include executable code as well?