Made getId() public and not final