Minor change so that no branches are required when checking if a code location is empty.
Minor changes such as sealing a couple of classes.