Adding class to non-modules