Made BeanMethodIterator more elegant.