Fixed wrong method ID generation.