Added edit post support.