small improvement of the model generator for optional links
Merge branch 'master' of https://github.com/mbeddr/mbeddr.core