Kernel#scope must be private
use public_methods(false) instead of singleton_methods