added extractProperties method and removed the assumption that a body exists.