Revise syntax of function return types