Slightly simpler and cleaner API example.