Finally an almost working version

Needs to be documented.
type fieldset does not work standalone.