Added abstract templates for lists, fixed #131