Added example of autowiring beans by name and by type