Move object dunders from `FunctionModel` to `ObjectModel` (#2847) Signed-off-by: Emmanuel Ferdman <emmanuelferdman@gmail.com>