Remove static dependencies.