Prepare for v0.6.5 release. Closes #40