Make class public to avoid CGLIB proxy issues.