Controlling Properties of Hybrid Materials: Leaching Kinetics and Electronic Structure