Fix immutable protocolClasses access


This fixes #23