Allow using the 'ignore' flag in mappings along with states.