Support axis=None argument for sum() and mean()