Fixed typos and implementation of mentions pipeline.