Fixed errors: Methods aren't used.