Use a list of allowed structures instead of only one.