[feat] added autoconversion from callable to context when defining