Added params to docblocks, added params where necessary.