Fix proxy class visibility.