Remove protocols and implementation from API