Added support for finding multiple pieces.