Token replacements, nearly ready for 0.1 release.