Remove direct Spring dependencies