re-implementation of #98
Merge branch 'master' of github.com:sequelize/sequelize-doc