Simplification of counter handling.