First argument of new is 'cls' not 'self'

This fixes issue #3