Made mock posting functional.