Added dependency resolving.