Probably safer to not assume that id is an integer. Aren't we using string ids for all resources?