Fixing enclose init order.