Remove old code from specs