Some code reuse.