Made compliant with new version of micro deps spring