Error handling instead of nil-checks. Stub errors need to be improved.