Formatting updates and missing variable definition.