public function enqueue()
	{
		if ($this->assets) {
			foreach ($this->assets as $type => $assets) {
				$registerFunc = 'wp_register_' . $type;
				$enqueueFunc = 'wp_enqueue_' . $type;
				foreach ($assets as $handle => $data) {
					if ($data) {
						$data = array_merge(array(
							'src' => null,
							'deps' => array(),
							'ver' => false,
							'in_footer' => false,
							'media' => 'all',
						), $data);
						$lastArg = 'script' == $type ? $data['in_footer'] : $data['media'];
						$registerFunc($handle, $data['src'], $data['deps'], $data['ver'], $lastArg);
					}

					$enqueueFunc($handle);
				}
			}
		}

		if ($this->deregister) {
			foreach ($this->deregister as $type => $handles) {
				$function = 'wp_deregister_' . $type;
				foreach ($handles as $handle) {
					$function($handle);
				}
			}
		}
	}