Fix errors in documentation and add defining functions and macros
Upgrade versions to 0.10.0-dev