Generate properties for classes which implement specific protocol