Should be using config.define instead of config.definition.