This function could be static. Let's move it outside the object.