Removed unused parameter, adapted documentation