Modules

Apply block to scalar depending on if it's defined.