Extensions of swig for scrat