Changes in version 0.6: Format of data read from stdin is now automatically detected.