Allow super to be called in singleton object method (fixes #335)