ids are currently hardcoded as uints. They should be changed to generics or object to support more generic use.