Add check to not include a dependency more than once.