Using Java 8 streams.
Removing identifiers from representation as they are no longer needed.