Reverted unnecessary changes to style.checkApplicable().
Moved the attributes documentation to the attributes.
Fixed minor error introduced in the code.