Only allow String and int parameters to be copied from payloads.