Use util function for prototype inheritance.