Default attributes and documentation

A couple typos are fixed as well.