Sanitize declaration of dependencies