Simplify syntax extension implementation