@Miles fixed autowiring