Sample code to get list fields. Resolves #31