Use defclass for shaders, too.