This is extention of Ruby core library for myself.