Public function, should probably have godoc.