Getting rid of unused parameter, added documentation.