Integrate client into main module.