Inline reader

Signed-off-by: Kare Nuorteva <kare.nuorteva@me.com>