def _assemble(self):
        """Calls the appropriate assemble method based on policies."""
        for stmt in self.statements:
            pol = self.processed_policies[stmt.uuid]
            if _is_whitelisted(stmt):
                self._dispatch(stmt, 'assemble', self.model, self.agent_set,
                               pol.parameters)
Calls the appropriate assemble method based on policies.