Application-independent helper classes.