This would require at least a backport since it is not present in numpy 1.3.