Added isset() check. Now returns null if key not set.