Some helper classes and methods I often use in projects