Fixes PHP notice when "body" property is not defined