[WIP] Improve the IDE compatibility

See https://github.com/contao/module-core/pull/1