Fix "The assignment to $default is dead and can be removed." on Ram class.