Add documentation for BIO functions