Update docblocks
Remove unused global variable