Fix for calling void methods.