Small bugs and document strings