Added flatten selector and hover selector;