Tidy up of execNestedAction etc.