Actually return a value when fetching a definition.
Use configuration an not config when fetching keys. Also, be more verbose when logging errors.
Update configuration.