Adding documentation for the new apis