Change minor things in documentation
Use **kwargs correctly in various places