Adding a `getOptions` method