Added support for :focus. Changed the class names (check the code).