Prefix will only be set if not empty