Add Guard method for ensuring that nullable parameters have a value