Make compatible with latest version of slim-modules