Fix outdated method calls