Added join command spec.
Added join spec implementation.