Move getOption to HasLocator