Moved extensions to core Ruby classes to RIEL modules.