Modified return of primitive types.