Change parameterless case classes to case objects