Example code and test classes for the lightweight API.