Missing Javadoc.
If it's not overly difficult, can you make this generic?