resource api now allows to use depend() and provide() separately in chained calls