Small header file with handy macro definitions to simplify common tasks