added convenience converters for opts