Add dependency on shared-resource 0.4.0