Fixes out of date method calls.