Raise exceptions when passed nil