Removed unused line of code and updated docs