Fix variable name and docblock