removed some unused parameters, fixed some docblocks

this file makes me cry. there is so much shit going on here.