Improve error message for unknown dependencies.
Remove deprecated aliases.