Lightweight Ruby core extensions