Remove redundant dependency registration.