Fix local variable space for static methods.