Replaced reader var with (*io.Reader)(nil).