Use class variable. Fixes #1.