Accept generic List type in constructors