added correct support for methods created by Collections