Remove 'self' dependencies.