Setting the default 'post' type for Post class