Shared code used across Newton Commander's submodules