Make @Api definition consistent across classes