Move constants from C to ruby.