Javadoc and cleanup TriFunction.