How to load a protocol from a repository to a task?