Can we change this for a 'type' parameter, where type can be 'outgoing' or 'incoming'? This way, function calls will be more clear. Boolean flags usually requires an extra comment in the function call or a check to the function definition.