Added source property to dinamically created class