Narrowing type signature to prevent wrong conversions.