Change how singleton methods are added