Method id is deprecated