Allow prefix to be nullable.