Finished preference class.