Remove unused variable; update documentation