Fix a bug with methods that have more than four arguments.
Fix a bug with negative constants.