corrected foreign type signature for converted types. Added requirement to specify the foreign type.
update readme