Fix for functions which have no return values