Post controller cleanup.

Post controller cleanup.