Cleanup CSS classes and markup.
Fix callback output when a class is used instead of an object.