Fixed compile error after method rename