Apply suggestions from code review
Apply suggestions from code review

Co-Authored-By: Joseph Noir <d90a7f0bc2b8ff22f74993f191d40db0f52bd92a@users.noreply.github.com>
actor-framework/actor-framework,DavadDi/actor-framework,DavadDi/actor-framework,actor-framework/actor-framework,actor-framework/actor-framework,DavadDi/actor-framework,actor-framework/actor-framework,DavadDi/actor-framework