Add missing return statements