Miscellaneous demo code.