Adds ways to make sure you get a not-null object and indicate that your method might not return a value.