Clean up event/blog code