protected function stripRepositoryName()
{
// Lowercase the repository.
$repository = strtolower($this->getRepository());
// Remove repository from the string.
$stripped = str_replace("repository", "", $repository);
// Uppercase repository name.
$result = ucfirst($stripped);
// Return the result.
return $result;
}