Renamed variable and added @param doc block everywhere it is used.