Adding a ratio class.