I do not understand the reasoning behind this function. According to the name it removes stuff. According to the comment it represents default settings and according to the code it inserts rows.

Some clarification and a comment describing why this is necessary at all would be nice.