Changed type to reading-type to avoid shadowing.

Be careful about what you shadow @maxdh :smile: