Adapt library side for strategy tasks.