Implementing manager and client sides.