adding support to Castle 3.2.0