Added swig template inheritence to views