Change APIReader implementation. Fixed examples.