Add an additional 'role' option that allows us to specify slave or master