Add content type check in node_delete() and node_submit(), and check if body value is empty in node_submit()