getSlug() implemented on Util.php to improve the method