A helper class