Add basket elements write APIs

Fix documentation blank line

Fix documentation

Fix indentation in documentation