Fixed breakage in function proto-types due to scaling changes