#447 added documentation and removed unnecessary instance variable