Container may not have a class

Plugin should not barf if container does not have a class.