Add analyze/encode