This class may come in handy.