Added auto_rewrite method to pre_0_11

It raises error without this