Added support for CompexTypes under Entity. Does not support ComplexTypes inside ComplexType.