Fix documentation errors

This closes #3