Removing RESTAT stuff