Added module class param to prevent error

Prevent 'Object configuration must be an array containing a "class" element.' error.