Fix methods using old syntax