Check for class in Writers's bind method