Replaced self with this in mint module.