Remove obsolete setclass pattern. fixes #270