Fix bug with options.shouldLoadMediaGen.
Merge branch 'hotfix/0.10.1'