Fix docs and samples