Utility classes and samples