Support prepend and append options
Treat empty strings as null values
Name specific 'error-message' class