public function display() {

		// Compatibility with core WP's template parts.
		$this->templatePartCompat();

		if ( $this->template() ) {

			// Maybe remove core WP's `prepend_attachment`.
			$this->maybeShiftAttachment();

			// Make the `$data` variable available to the template.
			$data = $this->data;

			// Extract the data into individual variables. Each of
			// these variables will be available in the template.
			if ( $this->data instanceof Collection ) {
				extract( $this->data->all() );
			}

			// Load the template.
			include( $this->template() );
		}
	}