Rewritten and removed deps.