Various helper classes to perform common java operations