Fix typo
Simplify XBinder a bit and allow more flags