Fixed auto-complete initialization order.