Skip empty statements when parsing documents