Probably a template. That way it can be complex, and a little stronger.