Simplifying library functions for lynix/aerotools-ng#27