- Initial fix for TypeDeclaration not supporting properties
# This leads to inconsistent results when compiling - if the class has already
# been written to the file system, the properties will no longer exist!