Fixed issue with dialyzer and remote types in records.

Made the types not local...