Ports default values added, is_internal REX function added, reference added