Adding access callbacks to hook_entity_info.