Adding as_flat method
Version bump