Fixed an issue with Method type constants not being allocated.