Removed extra `public` keywords to bring it in line with the rest of the repository.