Ruby core extensions