Adapters for custom value handling.