Move nameBlock into post class.