remove extra dependencies to keep hpi small.