Fix for methods returning void.