Add asset directory configuration to Config annotation.

Fixes #1214.
Ditto