Glue code for all Sage classes