enable autowiring guard beans

I haven't tested your plugin, but this piece is probably necessary.