Add Guard for testing.