magicobject provides some tricky ways to use python more dynamic