Added docblock and fixed config.lib require