Removing uneeded code and adding a hover state.