Support any object as replacement (int, float...)