Add resolve method to the Container