Only run dependencies conditionally.