Fixed #70. Refactored parseStatements.