removing unncessary class keyword in protocol