Factory which creates minimal custom elements.