Documentation and samples improvements