Could you add documentation to this function since it is now public?