Refactor dropdowns to use extends