Al-alloyed MgB2: correlation of superconducting properties, microstructure and chemical composition