Added posibility to add Classes as properties