Implement unions.