replacing in classes directory properties as well.