Updating API Docs for issue #3 and issue #4

Updated API doc based on issue #3 and issue #4.