Fixed naming misstake where both a variable and a function was called final.