Make `::prepare_attr_value()` method public