Initial implementation of SerialDependencyResolver and related API.