Improve new post function and hide post prototype- refs #7277