Write javadoc about what this does.