Add hub logic.