using metadata replace classes for classes source