Moved toggle config from metadata object.