Added support for `void` as function return type.