Copied from my GitLabs repo.