Add user-defined object to generic Collection