improved type checking
increased maximum method length