Fixed agent proxy not being capable of handling a void return type