Changing math api to have the return type be the only variable being changed.