Starting to refactor dropdown.