Clean up ruby-specific conversion methods