Removed getIds() method due it was never used