Several changes w.r.t. default collections used.
Small changes w.r.t. to used API.
Changing generic collection and empty element.
Changes analogue to recent changes in relation.
Moving list type definition to package object.