Utility for writing couchapps.