Implementation of the new dependency system.