Exclude spring from dependency chain.