Fixes usage example using member access on class instantiation

This fixes issue #37