Uh, I hadn't really thought about that; just wanted to avoid code duplication. How should I go about it?