Adding persistence option for custom expressions.