Nice feature, but has no tests. Please test it.

Also, it lacks documentation, regarding parameters and return value.