Some handcrafted python routines from its core.