Scalafy fragments code