Show state/behaviour table even if error exists.
When encapsulating for the first time, don't check if wrongly encapsulated.
Added support for Set.