I would create such function in each new plugin anyways so why not have it there from the beginning, right?