Use types instead of interface in Collection