Move method into Reflections.scala