When an attribute is not found object.__getattr__ is called. Is there an equivalent way to intercept undefined methods?