Fix directives to properly support Big numbers.