Modified downloadType to downloadClass and corresponding getters/setters