OGM-348 Adding API on OptionsContainer to access options in a type-safe way