Added javadocs for IOC lifecycles and removed unused annotation.