id and class parameters required.