Fixes method signatures.