refactor: remove importing NoSuchElementException that's not used.