Minor fix: do not return values for void methods