Added support for len() and 'in' operators to managers