Modified api.rst for proper documentation