Fix subclass problem (#119)

Alex can't create pull requests, apparently.