Inlining functions with singleton result type.