split serpent class dependency