Includes TomDoc. Should be refactored to using nil instead of true/false.