Create a guard class