Reference semantics related bug removed.