Code changes because of using long as id type.