Rewrite the whole class.