Added support for BCs on spatial traces