Replace friend operator<<() and get() with member operator<<(), thanks to Niels Dekker