Doc tweaks and default encoding param