Add prototype util function.