Add replace definition for original slim package